@using OurWedding1
@model OurWedding1.Models.Expense

@{
    ViewBag.Title = Resources.Edit;
}
@Html.Partial("ExpensesHeading")
<h2>@ViewBag.Title</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Expense</legend>

        @Html.HiddenFor(model => model.ExpenseId)
		@Html.Partial("_CreateOrEdit", Model)

        <p>
            <input type="submit" value="@Resources.Save" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink(Resources.Back_To_List, "Index")
</div>
